﻿#region Using directives

using System;
using System.ComponentModel;

#endregion

namespace NetROS.Tiers.Entities
{	
	///<summary>
	/// An object representation of the 'tblZatvaranje' table. [No description found the database]	
	///</summary>
	/// <remarks>
	/// This file is generated once and will never be overwritten.
	/// </remarks>	
	[Serializable]
	[CLSCompliant(true)]
	public partial class Zatvaranje : ZatvaranjeBase
	{		
		#region Constructors

		///<summary>
		/// Creates a new <see cref="Zatvaranje"/> instance.
		///</summary>
		public Zatvaranje():base(){}	
		
		#endregion

	    private Int32 _testk=0;
        [DescriptionAttribute(""), System.ComponentModel.Bindable(System.ComponentModel.BindableSupport.Yes)]
        [DataObjectField(false, false, false)]
        public virtual System.Int32 TestKrerianja
        {
            get
            {
                return _testk;
            }

            set
            {
                if (_testk == value)
                    return;
                OnColumnChanging(ZatvaranjeColumn.IDKnjizenje, _testk);
                if (this.EntityState == EntityState.Unchanged)
                    this.EntityState = EntityState.Changed;
               
            }
        }
	}
}
